package cn.com.connected.service;

import cn.com.connected.entity.MemberEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.com.connected.base.params.page.BaseSearchDto;
import cn.com.connected.base.params.page.PageResult;
import cn.com.connected.dto.MemberDto;
import cn.com.connected.dto.search.MemberSearchDto;
import cn.com.connected.vo.MemberVo;

/**
 * 微信用户
 *
 * @author sms
 * @email sms@live.com
 * @date 2025-04-10 16:15:15
 */
public interface MemberService extends IService<MemberEntity>{

    MemberVo memberAdd(MemberDto memberDto);

    void memberEdit(String id,MemberDto memberDto);

    void memberEditMobile(String id,String mobile);

    MemberVo memberInfoById(String id);

    /**
     * 根据openId 登录
     * @param openId
     * @return
     */
    String memberLogin(String openId);

    MemberVo memberInfoSet(String id,MemberDto memberDto);

    MemberVo memberInfoByMobile(String mobile);

    void memberDel(String id);

    PageResult<MemberVo> memberPage(BaseSearchDto<MemberSearchDto> searchParams);

}

